package com.qidian.mes.produce.mapper;

import com.qidian.mes.pojo.Process;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author 陈俊成
 * @Company ccc
 * @Description
 * @Time 2024/10/16 17:08
 */
@Mapper
public interface ProcessMapper {
    int addProcess(Process process);
    List<Process> queryAll(@Param("process") Process process);

    int updateProcess(Process process);
    Process queryByRelId(int processRelId);

    int deleteProcess(int processRelId);

    List<String> queryByName();
}
